﻿using System.Collections.Generic;

namespace System.Windows.Forms.Extensions.Model
{
    /// <summary>
    /// Text what we want to display on the notify area
    /// </summary>
    public class NotifierMessage
    {
        /// <summary>
        /// Main text on the notifyer
        /// </summary>
        public string Text { get; private set; }
        
        /// <summary>
        /// Additional text on the notifyer
        /// </summary>
        public string TextAdditional { get; private set; }
        
        /// <summary>
        /// List of messages to display
        /// </summary>
        public IEnumerable<WarningItem> WarningItems { get; private set; }

        public NotifierMessage(string text, string textAdditional, IEnumerable<WarningItem> warningItems)
        {
            Text = text;
            TextAdditional = textAdditional;
            WarningItems = warningItems;
        }
    }
}
